//
//  ThemeManager.h
//  LYPhotos
//
//  Created by 美鑫科技 on 16/5/5.
//  Copyright © 2016年 MorpLCP. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "Theme.h"

@interface ThemeManager : NSObject

@property (nonatomic, strong) Theme *theme;
@property (nonatomic, assign) BOOL setSelfStyle;

+ (instancetype)shareManager;

/**
 * 设置UI显示模式 (白天/ 夜间)
 */
- (void)changeShowMode:(ThemeStyle)mode;

/**
 *  设置主题套装
 *
 *  @param theme 主题
 */
- (void)changeTheme:(Theme *)theme;

/**
 *  单独设置主题(自定义)
 */
- (void)changeThemeWithColor:(UIColor *)color;
- (void)changeThemeWithRandomColor;
- (void)changeThemeWithImage:(UIImage *)image;
- (void)changeThemeWithImageURL:(NSString *)imageUrl;
- (void)changeThemeWithTextColor:(UIColor *)color;

/**
 *  单独设置页面主体颜色
 */
- (void)changeBodyStyleWithColor:(UIColor *)color;
- (void)changeBodyStyleWithRandomColor;
- (void)changeBodyStyleWithImage:(UIImage *)image;
- (void)changeBodyStyleWithImageURL:(NSString *)imageUrl;

@end
